package org.lc.example.app;

import com.sun.xml.bind.marshaller.NamespacePrefixMapper;

class NamespacePrefixMapperImpl extends NamespacePrefixMapper {

	public String getPreferredPrefix(String namespaceUri, String suggestion,
			boolean requirePrefix) {

		if ("http://www.lc.org/example/encrypted-string-reply/1_0".equals(namespaceUri)) {
			return "encrypted-string-reply";
		} else if ("http://www.lc.org/example/encrypt-string-request/1_0".equals(namespaceUri)) {
			return "encrypt-string-request";
		} else {
			return suggestion;
		}

	}

}
